Ext.define('Service.user.view.UserEditTabs', {
    extend: 'Ext.tab.Panel',   
    alias : 'widget.Service_user_view_UserEditTabs',
    bodyBorder: false,
    collapsible: false,
    activeTab: 0,
    plain: true,
    
    
    initComponent: function() {
        var me = this;
        Ext.applyIf(me, {
        	items : [
    	         {
    	        	 xtype: 'panel',
                     frame: true,
                     layout: {
                         type: 'fit'
                     },
                     title: '用户信息',
                     style:{
				    	 border:'none'
				     },
                     items: [
                     	{xtype : 'Service_user_view_UserInfoEditForm'}
                     ]
    	         },
    	         {
    	        	 xtype: 'panel',
                     layout: {
                         type: 'fit'
                     },
                     title: '角色分配',
                     style:{
				    	 border:'none'
				     },
                     items : [
                     	{
                     		xtype : 'Service_user_view_UserRoleEditContainer',
                     		userId : me.userId
                     	}
                     ]
    	         },
    	         {
    	        	 xtype: 'panel',
                     floating: false,
                     layout: {
                         type: 'fit'
                     },
                     title: '权限分配',
                     style:{
				    	 border:'none'
				     },
                     items : [
                     	{
                     		xtype : 'Service_user_view_UserAuthEditContainer',
                     		userId : me.userId	
                     	}
                     ]
    	         }
        	]
        });
        me.callParent(arguments);
    }
});